//
//  RW_UserSingleViewModel.h
//  SleepApp
//
//  Created by chuangqi on 2021/3/30.
//  Copyright © 2021 RiceWang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RW_UserSingleModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface RW_UserSingleViewModel : NSObject
#pragma mark -- 功能逻辑
/** 新建用户歌单 */
-(void)addSUserSingleName:(NSString *)singleName
                  success:(void(^)(NSString * response))success
                     fail:(void(^)(NSError *error))fail;
/** 新建用户歌单关系 */
-(void)addSongToSingleParams:(NSDictionary *)params
                  success:(void(^)(id response))success
                        fail:(void(^)(NSError *error))fail;

#pragma mark -- 视图模型获取
/** 获取视图模型 */
-(void)getViewSuccess:(void(^)(NSArray<WLBaseCollectionViewLayerSection *> *response))success
                 fail:(void(^)(NSError *error))fail;

/** 获取添加收藏视图模型 */
-(void)getAddSingleViewSuccess:(void(^)(NSArray<WLBaseCollectionViewLayerSection *> *response))success
                          fail:(void(^)(NSError *error))fail;
@end

NS_ASSUME_NONNULL_END
